
<div class="layui-card third_step" style="display: none">
    <div class="layui-progress" lay-showPercent="true" style="margin: 20px 200px;">
        <div class="layui-progress-bar layui-bg-green" lay-percent="3/3"></div>
    </div>

    <div class="layui-form-item">
        <label for="" class="layui-form-label">商品图片</label>
        <div class="layui-input-block">
            <!-- 图片上传 -->
            <ul>
                <li class="zyupload-wrapper">
                    <div id="zyupload">
                        @foreach($goods["image_arr"] as $vo)
                        <img src="{{$vo}}" alt="" width="100" height="100">
                        @endforeach
                    </div>
                </li>
            </ul>
        </div>
{{--        <p>--}}
{{--      <textarea id="upload_images" name="images"  style="display:none;">--}}
{{--      </textarea>--}}
        <input id="upload_images" name="images" type="hidden" >
{{--        </p>--}}
        <!-- 图片上传 -->
{{--        <p>--}}
{{--        <div class="image_container">--}}
{{--            <img id="preview" width="400" height="100" style="display:none">--}}
{{--        </div>--}}
{{--        </p>--}}
    </div>

    <div class="layui-form-item">
        <label for="" class="layui-form-label">商品详情</label>
        <div class="layui-input-block">
            <input type="radio" name="goods_detail_type" value="1" title="商品图片" lay-filter="goods_detail_type" @if($goods["description_type"]==1) checked @endif >
            <input type="radio" name="goods_detail_type" value="2" title="图文" lay-filter="goods_detail_type"  @if($goods["description_type"]==2) checked @endif  >
        </div>
    </div>

    <div class="layui-form-item word_detail" style="display: none">
        <label for="" class="layui-form-label"></label>
        <div class="layui-input-block">
            <script id="editor" name="content" type="text/plain" style="width:100%;height:300px;">  {!! $goods["description"]??old('content') !!}
            </script>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="radio" name="status" value="1" title="待审核" @if($goods["status"] == 1) checked @endif >
            <input type="radio" name="status" value="2" title="上架" @if($goods["status"] == 2) checked @endif>
            <input type="radio" name="status" value="3" title="已售罄" @if($goods["status"] == 3) checked @endif>
            <input type="radio" name="status" value="4" title="下架" @if($goods["status"] == 4) checked @endif>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" class="layui-btn layui-btn-primary layui-btn-sm to_second_step">上一步</button>
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm ">完成</button>
        </div>
    </div>

</div>






